package com.information.service;

import com.information.entity.OperationLog;
import com.information.entity.User;

import java.util.List;

public interface OperationLogService {
    
    List<OperationLog> findAllLogs();
    
    List<OperationLog> findLogsByUserId(Long userId);
    
    List<OperationLog> findLogsByOperationType(String operationType);
    
    List<OperationLog> findLogsByUsername(String username);
    
    void logOperation(String operationType, User user, String operatedBy);
    
    OperationLog saveLog(OperationLog log);
} 